<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head><title>MyIsern - Login</title></head>
<body>


  MyIsern - Login
  <p>
  <stripes:errors action="/Index.action"/>

  <stripes:form id="LoginForm" action="/Index.action" focus="">
     <table>
        <tr>
           <td>Username:</td>
        </tr>
        <tr>
           <td><stripes:text name="username"/></td>
        </tr>
        <tr>
           <td>Password:</td>
        </tr>
        <tr>
           <td><stripes:password name="password"/></td>
        </tr>
        <tr>
           <td style="text-align: center;">
              <%-- If the security servlet attached a targetUrl, carry that along. --%>
              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
              <stripes:submit name="login" value="Login"/>
           </td>
        </tr>
     </table>
   </stripes:form>
 
</body>
</html>